var CPB;
CPB.util.Event={
    //下面代码来自于JS设计模式10.6
    getEvent:function(e){
        return e||window.event;
    },
    getTarget:function(e){
        return e.target||e.srcElement;
    },
    stopPropagation:function(e){
        if(e.stopPropagation){
            e.stopPropagation;
        }else{
            e.cancelBubble=true;
        }
    },
    preventDefault:function(e){
        if(e.preventDefault){
            e.preventDefault;
        }else{
            e.returnValue=false;
        }
    },
    stopEvent:function(e){
        this.stopPropagation(e);
        this.preventDefault(e);
    }
}